#ifndef SERVICETREEWIDGET_H
#define SERVICETREEWIDGET_H

#include <QObject>
#include <QTreeWidget>

class ServiceTreeWidget : public QTreeWidget
{
    Q_OBJECT
public:
    explicit ServiceTreeWidget(QWidget *parent = nullptr);

    void generateServiceFiles(const QString& path,const QString &bundleName);

private slots:
    void slot_AddService();
    void slot_RemoveService();
    void slot_AddInterface();
    void slot_RemoveInterface();

private:
    void generateService(QTreeWidgetItem* pItem,const QString& path,const QString &bundleName);

signals:
    // QWidget interface
protected:
    void mousePressEvent(QMouseEvent *event);
};

#endif // SERVICETREEWIDGET_H
